import request from '@/utils/request'

// 用户管理接口
export const getUserList = (page,limit,from) => {
    return request({
        url: '/api/userList/'+page+"/"+limit,
        method: 'get',
        params:from
    })
}

export const getUpdateState = id =>{
    return request({
        url: '/api/updateState/'+id,
        method: 'get',
    })
}

export const getDeleteUser = id =>{
    return request({
        url: '/api/deleteUserDeposit/'+id,
        method: 'get',
    })
}


export const getReturnDeposit = id =>{
    return request({
        url: '/api/getReturnDeposit/'+id,
        method: 'get',
    })
}


export const getDepositInfo= (item,charItem) =>{
    return request({
        url: '/api/deposit_info/'+item+"/"+charItem,
        method: 'get',
    })
}

export const getDepositUserList= () =>{
    return request({
        url: '/api/depositUser',
        method: 'get',
    })
}


